package cn.hrc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_hot")
public class Hot {// 热门
    @TableId( value = "id", type = IdType.AUTO)
    private int id;
    private String memo; // 描述
    private String picture;
    private int hot;
    private int type;

    @Override
    public String toString() {
        return "Hot{" +
                "id=" + id +
                ", name='" + memo + '\'' +
                ", picture='" + picture + '\'' +
                ", hot=" + hot +
                ", type=" + type +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public int getHot() {
        return hot;
    }

    public void setHot(int hot) {
        this.hot = hot;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
